<%= form.text_field(:login) %> <%= button_to_function("Suggest", "suggest_login(this)", :id => "login_suggest_button") %>